package com.cskaoyan.service;

import com.cskaoyan.bean.*;
import com.cskaoyan.bean.auth.bo.UserAuthResetBo;
import com.cskaoyan.bean.auth.bo.WXAuthRegisterBo;
import com.cskaoyan.bean.dashboardvo.DashBoardVo;
import com.cskaoyan.bean.data.*;
import com.cskaoyan.bean.usermodelbo.*;
import com.cskaoyan.bean.wx_userindexVO.UserIndexVO;

public interface UserService {


    DashBoardVo getDashBoardData();

//    UserData selectUserData(Integer page, Integer limit, String sort, String order);

    BaseData<User> getUserList(UserReq userReq);

    BaseData<Address> getAddressList(AddressReq addressReq);

    BaseData<Collect> getCollectList(CollectReq collectReq);

    BaseData<FootPrint> getFootPrintList(FootPrintReq footPrintReq);

    BaseData<SearchHistory> getHistoryList(HistoryReq historyReq);

    BaseData<Feedback> getFeedbackList(FeedbackReq feedbackReq);

    UserIndexVO userIndex(Integer id);

    User selectUser(String username);

    int getLastLoginTime(String username);

    int getLastLoginIp(String ip, String username);

    void changePassword(UserAuthResetBo bo);

    int insertUser(WXAuthRegisterBo registerBo);
}
